

package jsyf.oa.dao.crm;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import jsyf.oa.entity.crm.EquipmentTypeEntity;
import jsyf.oa.idao.BaseDao;
import jsyf.oa.ientity.IBaseEntity;
import org.springframework.stereotype.Repository;

@Repository

public class EquipmentTypeDao extends BaseDao{

    public EquipmentTypeDao()
    {
        super.iBaseEntity = new EquipmentTypeEntity();
    }

    @Override
    public IBaseEntity convertJson2Entity(JSONObject json) {
        return JSON.toJavaObject(json, EquipmentTypeEntity.class);
    }

}


